package com.cssl.Dao;

import com.cssl.entity.Users;
import org.springframework.data.mongodb.repository.MongoRepository;

import java.util.List;

public interface UsersDao extends MongoRepository<Users,Integer>{
    public List<Users> findByname(String name);
    public List<Users> findBynameAndPassword(String name,int password);
}
